/*
 * @Author: Huangdong
 * @Date: 2022-03-28 15:21:05
 * @LastEditors: minsheng_insurance_agency_zhoucl
 * @LastEditTime: 2025-08-06 11:41:37
 * @FilePath: \02.bldinsure\src\components\Vant.js
 * @Description: 
 * 
 * 
 */
import Vue from "vue";
import {
  Icon,
  Tab,
  Tabs,
  List,
  Cell,
  Button,
  Popup,
  Field,
  Dialog,
  Toast,
  Swipe,
  SwipeItem,
  // Area,
  NavBar,
  CellGroup,
  Image,
  // Sticky,
  Overlay,
  Loading,
  DatetimePicker,
  Switch,
  Checkbox,
  Divider,
  CheckboxGroup,
  RadioGroup,
  Radio,
  Tag,
  Uploader,
  ImagePreview,
  Picker,
  Stepper,
  Form,
  Search,
  Empty,
  Slider,
  // PullRefresh,
  IndexBar,
  IndexAnchor,
  // PasswordInput,
  // NumberKeyboard,
} from "vant";

Vue.use(Icon);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(List);
Vue.use(Cell);
Vue.use(Button);
Vue.use(Popup); 
Vue.use(Dialog);
Vue.use(Toast);
Vue.use(Swipe);
Vue.use(SwipeItem);
// Vue.use(Area);
Vue.use(NavBar);
Vue.use(CellGroup);
Vue.use(Image);
// Vue.use(Sticky);
Vue.use(Overlay);
Vue.use(Loading);
Vue.use(DatetimePicker);
Vue.use(Switch);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(RadioGroup);
Vue.use(Radio);
Vue.use(Divider);
Vue.use(Tag);
Vue.use(Uploader);
Vue.use(ImagePreview);
Vue.use(Picker);
Vue.use(Stepper);
Vue.use(Form);
Vue.use(Search);
Vue.use(Empty);
Vue.use(Slider);
// Vue.use(PullRefresh);
Vue.use(IndexBar);
Vue.use(IndexAnchor);
// Vue.use(PasswordInput);
// Vue.use(NumberKeyboard);

Vue.component(Field.name/*You custom name*/, {
  extends: Field,
  props: {
    formatter: {
      type: Function,
      default: function (value) {
        return value.replace(/\s+/g, "");
      },
    },
  },
}); 






